package com.szz.cardecision.mapper;

import com.szz.cardecision.entity.PointsTransaction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PointsTransactionMapper {
    int insert(PointsTransaction tx);
    List<PointsTransaction> findByUserId(@Param("userId") Long userId);
}